package edu.cibertec.service;

import java.util.List;

import edu.cibertec.bean.BeanDetalleMaestraDTO;
import edu.cibertec.fabrica.DAOFactory;

import edu.cibertec.interface1.DetalleMaestraDAO;

public class DetalleMaestraService implements DetalleMaestraDAO {
	
	DAOFactory factoria = DAOFactory.getFactorty(DAOFactory.SQLSERVER);
	DetalleMaestraDAO dao = factoria.getDetalleMaestraDAO();

	@Override
	public List<BeanDetalleMaestraDTO> ListaCombos(int id) throws Exception {
		// TODO Auto-generated method stub
		return dao.ListaCombos(id);
	}

	@Override
	public List<BeanDetalleMaestraDTO> ListaTipodocumente() throws Exception {
		// TODO Auto-generated method stub
		return dao.ListaTipodocumente();
	}

}
